/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.sql.Date;
import java.sql.Time;

/**
 *
 * @author scott
 */
public class Transaction {
    private int TransId;
    private char TransType;
    private Date Date;
    private Time Time;
    private int FrmAccountId;
    private float Amount;
    private int RecAccountId;
    private String Description;

    public Transaction(int aTransId, char aTransType, Date aDate, Time aTime, int aFrmAccountId, float aAmount, int aRecAccountId, String aDescription)
    {
        TransId = aTransId;
        TransType = aTransType;
        Date = aDate;
        Time = aTime;
        FrmAccountId = aFrmAccountId;
        Amount = aAmount;
        RecAccountId = aRecAccountId;
        Description = aDescription;
    }

    public float getAmount() {
        return Amount;
    }

    public Date getDate() {
        return Date;
    }

    public String getDescription() {
        return Description;
    }

    public int getFrmAccountId() {
        return FrmAccountId;
    }

    public int getRecAccountId() {
        return RecAccountId;
    }

    public Time getTime() {
        return Time;
    }

    public int getTransId() {
        return TransId;
    }

    public char getTransType() {
        return TransType;
    }
}
